<table width="560" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #333">
  <tr>
    <td colspan="2" class="tieude" align="center">TIN NHANH - TIN KHUYẾN MÃI</td>
  </tr>
  <tr bgcolor="#b7d7f8" height="30">
  	<td width="50" align="center" style="border-right:1px solid #333">STT</td>
    <td align="center">Nội Dung</td>
  </tr>
  <?php 
  	$sql="select * from tintuc where ghichu='hienthi'";
	$kq=mysql_query($sql);
	$i=1;
	while($r=mysql_fetch_array($kq))
	{
		$noidung=$r["noidung"];	
		echo "<tr><td align=center valign=top style='border-right:1px dotted #333;border-bottom:1px dotted #333;'>$i</td>		
		  <td style='border-bottom:1px dotted #333;line-height:25px; padding-left:5px; padding-right:5px' align=justify>$noidung</td></tr>";
		  	$i++;
	}

  ?>
 </table>